/*
 * message_app_config_changed.cpp
 *
 *  Created on: 28 Oca 2012
 *      Author: root
 */

#include "message_activity_config_changed.h"
#include "../../application.h"
#include <android/configuration.h>

namespace androidplus {
namespace messaging{
namespace activity{

message_activity_config_changed::message_activity_config_changed():message(MSG_ACTIVITY_CONFIG_CHANGED) {



}

message_activity_config_changed::~message_activity_config_changed() {

}

void message_activity_config_changed::execute()
{
	LOGI("Configuration Changed");
	application::cur_app()->cur_activity()->init_conf(NULL);
	application::cur_app()->cur_activity()->activity_on_configuration_changed();
}

}
}
} /* namespace androidplus */
